package com.audaque.springboot.foshanupload.session.config;


import com.audaque.springboot.foshanupload.session.filter.SessionLogoutFilter;
import org.springframework.boot.autoconfigure.condition.ConditionalOnExpression;
import org.springframework.boot.web.servlet.FilterRegistrationBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.web.filter.DelegatingFilterProxy;

import javax.servlet.Filter;

/**
 * @author zgb
 * @desc 方式2注解配置
 * @date 2022-01-25 22:24:15
 */

//@Configuration
//使用 Redis Session 之后，原 Spring Boot 的 server.session.timeout 属性不再生效。
//如果方式1yml配置和方式2注解配置 若同时配置则失效
//@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 3600)
public class RedisHttpSessionConfig {





}
